export interface BaseTableColumns {
  key: any;
  id:number;
  activeImgUrl?: string;
  wx?: string;
  business?: string; //主办方
  address?: string; //地址
  activeStatus?: string | number; //活动状态0未开始 1进行中2已结束；
  activedesc?: string; // 活动详情
  activeEndTime?: string; //活动结束时间
  activeStartTime?: string; //活动开始时间
  activeName?: string; //活动名称
  applicants?: number; //报名人数
  activeMax?: number; //活动上限人数
  status?: boolean;
  name?:string
}
export interface ActiveImgUrl {
  uid: string;
  name: string;
  status: string;
  url: string;
}
export interface createOrUpdateData {
  activeName?: string;
  activeMax?: number;
  activeStartTime?: string;
  activeEndTime?: string;
  business?: string;
  activeImgUrl?: ActiveImgUrl[];
  activeDetail?: string;
  key?: number;
  activeTime?:any[]
}
export interface CreatePops {
  API: (params: createOrUpdateData) => Promise<{}>;
}